<?php


class DebugError extends Error
{
    public function __construct($msg, $action="stop")
    {
        $msg = "Debug Error: " . $msg;
        parent::__construct($msg, $action);
    }
}